inherited FPedidoVendasLogistica: TFPedidoVendasLogistica
  Left = 335
  Top = 200
  Caption = 'Pedido Vendas'
  ClientHeight = 418
  ClientWidth = 689
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 13
  inherited Panel1: TPanel
    Width = 689
    Height = 418
    inherited Panel2: TPanel
      Width = 687
      inherited BtnEditar: TBitBtn
        Left = 81
      end
      inherited BtnFechar: TBitBtn
        Left = 394
      end
      inherited BtnExcluir: TBitBtn
        Enabled = False
      end
    end
    inherited Panel3: TPanel
      Top = 347
      Width = 687
      inherited SBAtualiza: TSpeedButton
        Left = 195
      end
      inherited LUsuario: TLabel
        Caption = 'usuario'
      end
      inherited LDataMod: TLabel
        Width = 117
        Caption = 'data/hora modificacao       '
      end
      inherited LNRegistros: TLabel
        Caption = 'qtd pedidos             '
      end
      inherited BtnConsuta: TBitBtn
        OnClick = BtnConsutaClick
      end
      inherited DBNavigator1: TDBNavigator
        DataSource = DSPedidoVenda
        Hints.Strings = ()
      end
    end
    object PageControl1: TPageControl
      Left = 1
      Top = 36
      Width = 687
      Height = 311
      ActivePage = PgIdentificacao
      Align = alClient
      TabIndex = 0
      TabOrder = 2
      object PgIdentificacao: TTabSheet
        Caption = 'Identifica'#231#227'o'
        object Label1: TLabel
          Left = 8
          Top = 10
          Width = 33
          Height = 13
          Caption = 'C'#243'digo'
        end
        object Label2: TLabel
          Left = 44
          Top = 10
          Width = 28
          Height = 13
          Caption = 'label2'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label3: TLabel
          Left = 123
          Top = 10
          Width = 23
          Height = 13
          Caption = 'Data'
        end
        object Label5: TLabel
          Left = 179
          Top = 98
          Width = 32
          Height = 13
          Caption = 'Cliente'
        end
        object Label10: TLabel
          Left = 179
          Top = 128
          Width = 43
          Height = 13
          Caption = 'Qtd Itens'
        end
        object Label11: TLabel
          Left = 257
          Top = 128
          Width = 35
          Height = 13
          Caption = 'Volume'
        end
        object Label12: TLabel
          Left = 333
          Top = 128
          Width = 49
          Height = 13
          Caption = 'Valor Unit.'
        end
        object Label13: TLabel
          Left = 429
          Top = 128
          Width = 51
          Height = 13
          Caption = 'Valor Total'
        end
        object Label42: TLabel
          Left = 8
          Top = 192
          Width = 33
          Height = 13
          Caption = 'Origem'
        end
        object Label43: TLabel
          Left = 50
          Top = 192
          Width = 5
          Height = 13
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label46: TLabel
          Left = 8
          Top = 98
          Width = 41
          Height = 13
          Caption = 'Empresa'
        end
        object GroupBox1: TGroupBox
          Left = 8
          Top = 36
          Width = 505
          Height = 45
          Caption = ' Situa'#231#227'o  '
          TabOrder = 1
          object Label9: TLabel
            Left = 292
            Top = 17
            Width = 23
            Height = 13
            Caption = 'Data'
          end
          object RdPendente: TRadioButton
            Left = 4
            Top = 17
            Width = 67
            Height = 17
            Caption = 'Pendente'
            Checked = True
            Enabled = False
            TabOrder = 0
            TabStop = True
          end
          object RdNF: TRadioButton
            Left = 79
            Top = 17
            Width = 36
            Height = 17
            Caption = 'NF'
            Enabled = False
            TabOrder = 1
          end
          object RdCancelado: TRadioButton
            Left = 203
            Top = 17
            Width = 73
            Height = 17
            Caption = 'Cancelado'
            Enabled = False
            TabOrder = 3
          end
          object DataSituacao: TDateEdit
            Left = 322
            Top = 17
            Width = 97
            Height = 21
            NumGlyphs = 2
            TabOrder = 4
            OnChange = DateEdit1Change
          end
          object CheckFechado: TCheckBox
            Left = 436
            Top = 17
            Width = 67
            Height = 17
            Caption = 'Fechado'
            TabOrder = 5
          end
          object RDNFManual: TRadioButton
            Left = 121
            Top = 17
            Width = 76
            Height = 17
            Caption = 'NF Manual'
            Enabled = False
            TabOrder = 2
          end
        end
        object GroupBox2: TGroupBox
          Left = 8
          Top = 128
          Width = 156
          Height = 45
          Caption = '  Forma de Pagamento  '
          TabOrder = 3
          object RDAvista: TRadioButton
            Left = 4
            Top = 17
            Width = 55
            Height = 17
            Caption = 'A Vista'
            Checked = True
            Enabled = False
            TabOrder = 0
            TabStop = True
          end
          object RDFaturadoPag: TRadioButton
            Left = 79
            Top = 17
            Width = 62
            Height = 17
            Caption = 'Faturado'
            Enabled = False
            TabOrder = 1
          end
        end
        object EdQtdItens: TEdit
          Left = 179
          Top = 148
          Width = 58
          Height = 21
          Enabled = False
          TabOrder = 4
        end
        object EdVolume: TEdit
          Left = 257
          Top = 148
          Width = 58
          Height = 21
          Enabled = False
          TabOrder = 5
        end
        object EdValUnit: TEdit
          Left = 333
          Top = 148
          Width = 80
          Height = 21
          Enabled = False
          TabOrder = 6
        end
        object EdValTot: TEdit
          Left = 429
          Top = 148
          Width = 80
          Height = 21
          Enabled = False
          TabOrder = 7
        end
        object ComboCliente: TComboBox
          Left = 217
          Top = 96
          Width = 297
          Height = 21
          CharCase = ecUpperCase
          ItemHeight = 13
          TabOrder = 2
          OnEnter = ComboClienteEnter
        end
        object DataPedido: TDateEdit
          Left = 155
          Top = 10
          Width = 97
          Height = 21
          NumGlyphs = 2
          TabOrder = 0
          OnChange = DateEdit1Change
          OnExit = DataPedidoExit
        end
        object BtnRelatorio: TBitBtn
          Left = 435
          Top = 185
          Width = 75
          Height = 25
          Caption = '&Rel'#225'torio'
          TabOrder = 8
          OnClick = BtnRelatorioClick
          Glyph.Data = {
            76010000424D7601000000000000760000002800000020000000100000000100
            04000000000000010000130B0000130B00001000000000000000000000000000
            800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00300000000000
            00033FFFFFFFFFFFFFFF0888888888888880777777777777777F088888888888
            8880777777777777777F0000000000000000FFFFFFFFFFFFFFFF0F8F8F8F8F8F
            8F80777777777777777F08F8F8F8F8F8F9F0777777777777777F0F8F8F8F8F8F
            8F807777777777777F7F0000000000000000777777777777777F3330FFFFFFFF
            03333337F3FFFF3F7F333330F0000F0F03333337F77773737F333330FFFFFFFF
            03333337F3FF3FFF7F333330F00F000003333337F773777773333330FFFF0FF0
            33333337F3FF7F3733333330F08F0F0333333337F7737F7333333330FFFF0033
            33333337FFFF7733333333300000033333333337777773333333}
          NumGlyphs = 2
        end
        object ComboEmpresa: TComboBox
          Left = 54
          Top = 96
          Width = 112
          Height = 21
          CharCase = ecUpperCase
          ItemHeight = 13
          TabOrder = 9
          OnEnter = ComboEmpresaEnter
        end
        object GroupNF: TGroupBox
          Left = 277
          Top = -1
          Width = 236
          Height = 39
          Caption = '  Dados da Nota Fiscal  '
          TabOrder = 10
          object Label47: TLabel
            Left = 9
            Top = 18
            Width = 33
            Height = 13
            Caption = 'C'#243'digo'
          end
          object dbtCodNF: TDBText
            Left = 49
            Top = 18
            Width = 59
            Height = 13
            DataField = 'PED_COD_NOTAFISCA'
            DataSource = DSPedidoVenda
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clRed
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
          object Label48: TLabel
            Left = 128
            Top = 18
            Width = 12
            Height = 13
            Caption = 'N'#176
          end
          object DBText3: TDBText
            Left = 155
            Top = 18
            Width = 65
            Height = 13
            DataField = 'PED_NUMERO_NOTA_FISCAL'
            DataSource = DSPedidoVenda
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clRed
            Font.Height = -11
            Font.Name = 'MS Sans Serif'
            Font.Style = []
            ParentFont = False
          end
        end
        object BitFechaAbrePedido: TBitBtn
          Left = 321
          Top = 185
          Width = 105
          Height = 25
          Caption = 'Fecha Pedido'
          TabOrder = 11
          OnClick = BitFechaAbrePedidoClick
          Glyph.Data = {
            76010000424D7601000000000000760000002800000020000000100000000100
            04000000000000010000130B0000130B00001000000000000000000000000000
            800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333300000003
            33333333777777733333333330CCC03333333333F7777733F3333330330C0330
            33333337337773373333333333303333333333F33337333333F3303333333333
            3033373333333333373333333333333333333F3333333333333F033333333333
            3303733333333333337333333333333333333F3333333333333F033333333333
            3303733333333333FF7333333333333000333FFFFF33333777FF000003333307
            B70377777F333377777F09990333330BBB0377777F333377777F099903333307
            B70377777F3333777773099903333330003377777F3333377733000003333330
            3333777773F3F3F7333333333030303333333333373737333333}
          NumGlyphs = 2
        end
      end
      object PgItensPedido: TTabSheet
        Caption = 'Itens do Pedido'
        ImageIndex = 1
        OnShow = PgItensPedidoShow
        object Label4: TLabel
          Left = 23
          Top = 5
          Width = 31
          Height = 13
          Caption = 'Chave'
        end
        object Label6: TLabel
          Left = 88
          Top = 5
          Width = 35
          Height = 13
          Caption = 'Volume'
        end
        object Label8: TLabel
          Left = 145
          Top = 5
          Width = 51
          Height = 13
          Caption = 'Valor Total'
        end
        object Label14: TLabel
          Left = 234
          Top = 5
          Width = 57
          Height = 13
          Caption = 'Data \ Hora'
        end
        object Label15: TLabel
          Left = 355
          Top = 5
          Width = 17
          Height = 13
          Caption = 'B A'
        end
        object SpeedButton1: TSpeedButton
          Left = 464
          Top = 72
          Width = 23
          Height = 21
          Glyph.Data = {
            76010000424D7601000000000000760000002800000020000000100000000100
            04000000000000010000130B0000130B00001000000000000000000000000000
            800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
            FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
            33033333333333333F7F3333333333333000333333333333F777333333333333
            000333333333333F777333333333333000333333333333F77733333333333300
            033333333FFF3F777333333700073B703333333F7773F77733333307777700B3
            333333773337777333333078F8F87033333337F3333337F33333778F8F8F8773
            333337333333373F333307F8F8F8F70333337F33FFFFF37F3333078999998703
            33337F377777337F333307F8F8F8F703333373F3333333733333778F8F8F8773
            333337F3333337F333333078F8F870333333373FF333F7333333330777770333
            333333773FF77333333333370007333333333333777333333333}
          NumGlyphs = 2
        end
        object DBGrid1: TDBGrid
          Left = 1
          Top = 70
          Width = 406
          Height = 158
          TabStop = False
          DataSource = DSItensPedidoVenda
          ReadOnly = True
          TabOrder = 10
          TitleFont.Charset = DEFAULT_CHARSET
          TitleFont.Color = clWindowText
          TitleFont.Height = -11
          TitleFont.Name = 'MS Sans Serif'
          TitleFont.Style = []
          Columns = <
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ITENSPED_CODIGO'
              Title.Alignment = taCenter
              Title.Caption = 'Chave'
              Width = 60
              Visible = True
            end
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ITENSPED_QUANTIDADE'
              Title.Alignment = taCenter
              Title.Caption = 'Volume'
              Width = 60
              Visible = True
            end
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'ITENSPED_VALORTOTAL'
              Title.Alignment = taCenter
              Title.Caption = 'Valor Total'
              Width = 70
              Visible = True
            end
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'DATA_LOGISTICA'
              Title.Alignment = taCenter
              Title.Caption = 'Data \ Hora'
              Width = 110
              Visible = True
            end
            item
              Alignment = taCenter
              Expanded = False
              FieldName = 'NUMERO_BA_LOGISTICA'
              Title.Alignment = taCenter
              Title.Caption = 'B.A'
              Width = 71
              Visible = True
            end>
        end
        object DBEChave: TDBEdit
          Left = 1
          Top = 21
          Width = 74
          Height = 21
          DataField = 'ITENSPED_CODIGO'
          DataSource = DSItensPedidoVenda
          TabOrder = 0
          OnExit = DBEChaveExit
        end
        object DBNavigator2: TDBNavigator
          Left = 308
          Top = 48
          Width = 100
          Height = 19
          DataSource = DSItensPedidoVenda
          VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast]
          TabOrder = 11
        end
        object DBEVolume: TDBEdit
          Left = 74
          Top = 21
          Width = 63
          Height = 21
          DataField = 'ITENSPED_QUANTIDADE'
          DataSource = DSItensPedidoVenda
          TabOrder = 1
        end
        object DBEValorTotal: TDBEdit
          Left = 137
          Top = 21
          Width = 69
          Height = 21
          DataField = 'ITENSPED_VALORTOTAL'
          DataSource = DSItensPedidoVenda
          TabOrder = 2
        end
        object DBEBa: TDBEdit
          Left = 316
          Top = 21
          Width = 91
          Height = 21
          DataField = 'NUMERO_BA_LOGISTICA'
          DataSource = DSItensPedidoVenda
          TabOrder = 4
        end
        object ButIncluir: TButton
          Left = 1
          Top = 48
          Width = 60
          Height = 19
          Caption = 'Incluir'
          TabOrder = 5
          OnClick = ButIncluirClick
        end
        object ButEditar: TButton
          Left = 61
          Top = 48
          Width = 60
          Height = 19
          Caption = 'Editar'
          TabOrder = 6
          OnClick = ButEditarClick
        end
        object ButExcluir: TButton
          Left = 121
          Top = 48
          Width = 60
          Height = 19
          Caption = 'Excluir'
          TabOrder = 7
          OnClick = ButExcluirClick
        end
        object ButSalvar: TButton
          Left = 181
          Top = 48
          Width = 60
          Height = 19
          Caption = 'Salvar'
          TabOrder = 8
          OnClick = ButSalvarClick
        end
        object ButCancelar: TButton
          Left = 241
          Top = 48
          Width = 60
          Height = 19
          Caption = 'Cancelar'
          TabOrder = 9
          OnClick = ButCancelarClick
        end
        object EdDataHora: TEdit
          Left = 207
          Top = 21
          Width = 108
          Height = 21
          TabOrder = 3
        end
        object EDPequisaItem: TEdit
          Left = 411
          Top = 72
          Width = 54
          Height = 21
          TabOrder = 12
          OnChange = EDPequisaItemChange
        end
      end
      object PgHidrometro: TTabSheet
        Caption = 'Hidrom'#234'tro'
        ImageIndex = 2
        OnShow = PgHidrometroShow
        object Label7: TLabel
          Left = 6
          Top = 37
          Width = 78
          Height = 13
          Caption = 'Leitura Inicial'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label16: TLabel
          Left = 6
          Top = 93
          Width = 71
          Height = 13
          Caption = 'Leitura Final'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label17: TLabel
          Left = 280
          Top = 37
          Width = 37
          Height = 13
          Caption = 'N'#250'mero'
        end
        object Label18: TLabel
          Left = 280
          Top = 93
          Width = 37
          Height = 13
          Caption = 'N'#250'mero'
        end
        object Bevel1: TBevel
          Left = 0
          Top = 27
          Width = 515
          Height = 2
        end
        object Label19: TLabel
          Left = 6
          Top = 10
          Width = 33
          Height = 13
          Caption = 'C'#243'digo'
        end
        object DBText2: TDBText
          Left = 46
          Top = 10
          Width = 49
          Height = 17
          DataField = 'PED_CODIGO'
          DataSource = DSPedidoVenda
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label27: TLabel
          Left = 104
          Top = 10
          Width = 41
          Height = 16
          Caption = 'Cliente'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label28: TLabel
          Left = 152
          Top = 10
          Width = 56
          Height = 16
          Caption = 'Label22'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -13
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label29: TLabel
          Left = 208
          Top = 37
          Width = 23
          Height = 13
          Caption = 'Hora'
        end
        object Label30: TLabel
          Left = 208
          Top = 93
          Width = 23
          Height = 13
          Caption = 'Hora'
        end
        object Label31: TLabel
          Left = 104
          Top = 37
          Width = 23
          Height = 13
          Caption = 'Data'
        end
        object Label32: TLabel
          Left = 104
          Top = 93
          Width = 23
          Height = 13
          Caption = 'Data'
        end
        object Label33: TLabel
          Left = 6
          Top = 152
          Width = 69
          Height = 13
          Caption = 'Volume Atend.'
        end
        object Label34: TLabel
          Left = 104
          Top = 152
          Width = 57
          Height = 13
          Caption = 'Volume Hid.'
        end
        object Label35: TLabel
          Left = 208
          Top = 152
          Width = 49
          Height = 13
          Caption = 'Valor Unit.'
        end
        object Label36: TLabel
          Left = 296
          Top = 152
          Width = 51
          Height = 13
          Caption = 'Valor Total'
        end
        object Label37: TLabel
          Left = 6
          Top = 168
          Width = 38
          Height = 13
          Caption = 'Label37'
        end
        object Label38: TLabel
          Left = 104
          Top = 168
          Width = 38
          Height = 13
          Caption = 'Label38'
        end
        object Label39: TLabel
          Left = 384
          Top = 37
          Width = 50
          Height = 13
          Caption = 'Informante'
        end
        object Label40: TLabel
          Left = 384
          Top = 93
          Width = 50
          Height = 13
          Caption = 'Informante'
        end
        object Label44: TLabel
          Left = 208
          Top = 168
          Width = 38
          Height = 13
          Caption = 'Label44'
        end
        object Label45: TLabel
          Left = 296
          Top = 168
          Width = 38
          Height = 13
          Caption = 'Label44'
        end
        object EdNumeroInicial: TEdit
          Left = 280
          Top = 53
          Width = 89
          Height = 21
          Enabled = False
          TabOrder = 0
        end
        object EdNumeroFinal: TEdit
          Left = 280
          Top = 109
          Width = 89
          Height = 21
          Enabled = False
          TabOrder = 1
        end
        object DateEdit1: TDateEdit
          Left = 104
          Top = 53
          Width = 97
          Height = 21
          NumGlyphs = 2
          TabOrder = 2
          OnChange = DateEdit1Change
        end
        object DateEdit2: TDateEdit
          Left = 104
          Top = 109
          Width = 97
          Height = 21
          NumGlyphs = 2
          TabOrder = 3
          OnChange = DateEdit2Change
          OnEnter = DateEdit2Enter
        end
        object EdHoraIni: TEdit
          Left = 208
          Top = 53
          Width = 57
          Height = 21
          Enabled = False
          TabOrder = 4
        end
        object EdHoraFin: TEdit
          Left = 208
          Top = 109
          Width = 57
          Height = 21
          Enabled = False
          TabOrder = 5
        end
        object EdInformanteIni: TEdit
          Left = 384
          Top = 53
          Width = 121
          Height = 21
          Enabled = False
          TabOrder = 6
        end
        object EdInformanteFin: TEdit
          Left = 384
          Top = 109
          Width = 121
          Height = 21
          Enabled = False
          TabOrder = 7
        end
      end
      object PgCancelamento: TTabSheet
        Caption = 'Cancelamento'
        ImageIndex = 3
        OnShow = PgCancelamentoShow
        object DBText1: TDBText
          Left = 37
          Top = 10
          Width = 49
          Height = 17
          DataField = 'PED_CODIGO'
          DataSource = DSPedidoVenda
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clRed
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = []
          ParentFont = False
        end
        object Label20: TLabel
          Left = 0
          Top = 10
          Width = 33
          Height = 13
          Caption = 'C'#243'digo'
        end
        object Label21: TLabel
          Left = 72
          Top = 10
          Width = 32
          Height = 13
          Caption = 'Cliente'
        end
        object Label22: TLabel
          Left = 112
          Top = 10
          Width = 46
          Height = 13
          Caption = 'Label22'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clWindowText
          Font.Height = -11
          Font.Name = 'MS Sans Serif'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object Label23: TLabel
          Left = 72
          Top = 42
          Width = 36
          Height = 13
          Caption = 'Usu'#225'rio'
        end
        object Label24: TLabel
          Left = 160
          Top = 42
          Width = 3
          Height = 13
        end
        object Label25: TLabel
          Left = 72
          Top = 72
          Width = 23
          Height = 13
          Caption = 'Data'
        end
        object Label26: TLabel
          Left = 72
          Top = 104
          Width = 32
          Height = 13
          Caption = 'Motivo'
        end
        object Label41: TLabel
          Left = 112
          Top = 42
          Width = 3
          Height = 13
        end
        object DateEdit3: TDateEdit
          Left = 112
          Top = 72
          Width = 121
          Height = 21
          NumGlyphs = 2
          TabOrder = 0
        end
        object Memo1: TMemo
          Left = 112
          Top = 104
          Width = 249
          Height = 89
          Enabled = False
          TabOrder = 1
        end
      end
      object TabNFMAnual: TTabSheet
        Caption = 'Nota Fiscal Manual'
        ImageIndex = 4
        object Label49: TLabel
          Left = 16
          Top = 8
          Width = 83
          Height = 13
          Caption = 'N'#176' da Nota Fiscal'
        end
        object Label50: TLabel
          Left = 120
          Top = 8
          Width = 94
          Height = 13
          Caption = 'Data da Nota Fiscal'
        end
        object DBENFManual: TDBEdit
          Left = 16
          Top = 24
          Width = 89
          Height = 21
          DataField = 'PED_NUMERO_NOTA_FISCAL'
          DataSource = DSPedidoVenda
          TabOrder = 0
        end
        object DBDDtNFManual: TDBDateEdit
          Left = 120
          Top = 24
          Width = 97
          Height = 21
          DataField = 'DATA_NOTA_FISCAL_MANUAL'
          DataSource = DSPedidoVenda
          NumGlyphs = 2
          TabOrder = 1
        end
      end
    end
  end
  object DSPedidoVenda: TDataSource
    DataSet = DMGestao.QPedidoVenda
    Left = 400
    Top = 240
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 533
    Top = 280
  end
  object DSItensPedidoVenda: TDataSource
    DataSet = QItensPedidoVenda
    OnDataChange = DSItensPedidoVendaDataChange
    Left = 376
    Top = 112
  end
  object QItensPedidoVenda: TQuery
    DatabaseName = 'base'
    RequestLive = True
    SQL.Strings = (
      'SELECT * FROM ITENSPEDIDOVENDA')
    Left = 256
    Top = 280
    object QItensPedidoVendaITENSPED_CODIGO: TIntegerField
      FieldName = 'ITENSPED_CODIGO'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_CODIGO'
    end
    object QItensPedidoVendaITENSPED_PEDIDO: TIntegerField
      FieldName = 'ITENSPED_PEDIDO'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_PEDIDO'
    end
    object QItensPedidoVendaITENSPED_PRODUTO: TIntegerField
      FieldName = 'ITENSPED_PRODUTO'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_PRODUTO'
    end
    object QItensPedidoVendaITENSPED_PRODUTOCLIENTE: TStringField
      FieldName = 'ITENSPED_PRODUTOCLIENTE'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_PRODUTOCLIENTE'
      Size = 15
    end
    object QItensPedidoVendaITENSPED_DESCRICAOSERVICO: TStringField
      FieldName = 'ITENSPED_DESCRICAOSERVICO'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_DESCRICAOSERVICO'
      Size = 200
    end
    object QItensPedidoVendaITENSPED_LOCAL: TIntegerField
      FieldName = 'ITENSPED_LOCAL'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_LOCAL'
    end
    object QItensPedidoVendaITENSPED_QUANTIDADE: TFloatField
      FieldName = 'ITENSPED_QUANTIDADE'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_QUANTIDADE'
    end
    object QItensPedidoVendaITENSPED_QUANTIDADEATEND: TFloatField
      FieldName = 'ITENSPED_QUANTIDADEATEND'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_QUANTIDADEATEND'
    end
    object QItensPedidoVendaITENSPED_DATAENTREGA: TDateTimeField
      FieldName = 'ITENSPED_DATAENTREGA'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_DATAENTREGA'
    end
    object QItensPedidoVendaITENSPED_VALORUNIT: TFloatField
      FieldName = 'ITENSPED_VALORUNIT'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_VALORUNIT'
      DisplayFormat = '0.,00'
    end
    object QItensPedidoVendaITENSPED_VALORTOTAL: TFloatField
      FieldName = 'ITENSPED_VALORTOTAL'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_VALORTOTAL'
      DisplayFormat = '0.,00'
    end
    object QItensPedidoVendaITENSPED_SITUACAO: TSmallintField
      FieldName = 'ITENSPED_SITUACAO'
      Origin = 'BASE.ITENSPEDIDOVENDA.ITENSPED_SITUACAO'
    end
    object QItensPedidoVendaDATA_LOGISTICA: TDateTimeField
      FieldName = 'DATA_LOGISTICA'
      Origin = 'BASE.ITENSPEDIDOVENDA.DATA_LOGISTICA'
      DisplayFormat = 'dd/MM/yyyy hh:mm'
    end
    object QItensPedidoVendaVALOR_LOGISTICA: TFloatField
      FieldName = 'VALOR_LOGISTICA'
      Origin = 'BASE.ITENSPEDIDOVENDA.VALOR_LOGISTICA'
    end
    object QItensPedidoVendaNUMERO_BA_LOGISTICA: TStringField
      FieldName = 'NUMERO_BA_LOGISTICA'
      Origin = 'BASE.ITENSPEDIDOVENDA.NUMERO_BA_LOGISTICA'
    end
    object QItensPedidoVendaUSUARIO_CANCELAMENTO_LOGISTICA: TStringField
      FieldName = 'USUARIO_CANCELAMENTO_LOGISTICA'
      Origin = 'BASE.ITENSPEDIDOVENDA.USUARIO_CANCELAMENTO_LOGISTICA'
      Size = 10
    end
    object QItensPedidoVendaMOTIVO_CANCELAMENTO_LOGISTICA: TStringField
      FieldName = 'MOTIVO_CANCELAMENTO_LOGISTICA'
      Origin = 'BASE.ITENSPEDIDOVENDA.MOTIVO_CANCELAMENTO_LOGISTICA'
      Size = 80
    end
  end
  object DsClienteGestao: TDataSource
    DataSet = DMGestao.QCliente
    Left = 448
    Top = 296
  end
  object QAux: TQuery
    DatabaseName = 'base'
    Left = 456
    Top = 8
  end
  object QAtendimento: TQuery
    DatabaseName = 'logis'
    RequestLive = True
    SQL.Strings = (
      '')
    Left = 336
    Top = 296
  end
  object QLeituraHidrometro: TQuery
    DatabaseName = 'logis'
    RequestLive = True
    SQL.Strings = (
      'select * from leitura_hidrometro')
    Left = 248
    Top = 112
  end
  object DSEmpresa: TDataSource
    DataSet = DMGestao.QEmpresa
    Left = 432
    Top = 144
  end
  object DSNotaFiscal: TDataSource
    DataSet = TBNotaFiscal
    Left = 96
    Top = 64
  end
  object TBNotaFiscal: TTable
    DatabaseName = 'base'
    TableName = 'NOTAFISCALVENDA'
    Left = 248
    Top = 200
  end
  object QContrato: TQuery
    DatabaseName = 'logis'
    Left = 488
    Top = 8
  end
end
